
// #ifndef VUE3
import Vue from 'vue'
import App from './App'
import Env from './util/Env'//配置文件
import http from './util/http'//封装ajax文件
import method from './util/method.js'//封装通用方法
import share from 'util/share.js'//封装转发功能
import plugins from './plugins' // plugins
Vue.use(plugins)

Vue.config.productionTip = false
Vue.prototype.$Env = Env
Vue.prototype.$http = http
Vue.prototype.$method = method

App.mpType = 'app'

Vue.mixin(share)

const app = new Vue({
    ...App,
	share
})
app.$mount()
// #endif

// #ifdef VUE3
import { createSSRApp } from 'vue'
import App from './App.vue'
export function createApp() {
  const app = createSSRApp(App)
  return {
    app
  }
}
// #endif